import { request } from '../../../request';
// 工艺流程新增
export function addTechnologyProcess(params: any) {
  return request({
    url: `/erpsyncmes/pubtechnology/insert`,
    method: 'post',
    data: params
  });
}
// 工艺流程编辑
export function editTechnologyProcess(params: any) {
  return request({
    url: `/erpsyncmes/pubtechnology/update`,
    method: 'post',
    data: params
  });
}
// 工艺流程删除
export function deleteTechnologyProcess(params: any) {
  return request({
    url: `/erpsyncmes/pubtechnology/delete`,
    method: 'post',
    data: params
  });
}
/** 导出工艺流程信息 */
// export function exportTechnologyProcess(params: any) {
//   return downLoad({
//     url: '/qms/through/throughHoleFrame/export',
//     params,
//     method: 'get',
//     fileName: `工艺流程信息导出${dayjs().format('YYYY-MM-DD HH:mm:ss')}.xlsx`
//   });
// }
